#ifndef _NJGIS_INJSERVICE_H__
#define _NJGIS_INJSERVICE_H__

#include "INxUnknown.h"
#include <string>

namespace NJGIS
{
	namespace SERVICE
	{
		class INjService : public virtual INxUnknown
		{
		public:
			//! get ip or host of the target server
			virtual const char* getIP() = 0; 

			//! get port
			virtual int getPort() = 0;

			//! get port string
			virtual int getPortStr( std::string &port ) = 0;

			//! connect the server to check if it available
			virtual int connect() = 0;
		};
	}
}

#endif